package allocator

class Turma {

	static hasOne = [professor: Professor, disciplina: Disciplina, sala: Sala, horario: HorarioTurma]
	static belongsTo = Aluno
		
    static constraints = {
    	sala nullable: false
    	professor nullable: false
    	disciplina nullable: false
    	horario nullable: false
    }
}
